added service call, initial code for inMemory storage