converting to chr