took out unused commented code in controller class