Automating checking of amount to withdraw (RS)