removed print statement from controller