add int to char function for later operation