added get all records method