using createStore helper