better use of stores and actions