started working on retrieving data