Removed unnecessary print functions