print function added