unnecessary print lines were deleted