changed to guard exceptions for deposit and withdrawl