Changes made to printing code.