Alter printing code