modified store controller