changed function params to store_id, ...