getting rid of printing type