some code for store