now able to retrieve the state of the accounts