added store functionality