Add the store function