printing string in console