adding a get method to the data storage