first steps for the store function