added some basic support in the store method. Build error due to mismatch with payload