removed unnecessary createStore method