fixed printing the rest of the way