added the call to storeData