Working on retrieving the records