implement data handling in StoreDefinition