change visibility of createStore method