removes unnecessary store function