Adding function get_all to Account