string print function added