removing temporal print function