added a get all method