Remove unecessary print and whitespace