replacement int for char in function placement