modifications to add_account