simple print function 