testing print function