copied store controller