added store function