successfully converted char to int