change print method