added method to get all of the records