the print method is ok