change print function