different string print method