remove print function