refactoring action store creation