removed a print_r from the Controller class