Added store function