Removing an unnecessary print statement