Implemented code to retrieve data from storage