Example for storing values in controller