added debugger line to controller