char and int as char now working