converting numbers to string before printing