last little refactor to storecontroller