methods for 'Account' class