Added console output for controller