use a different name than char, which is reserved. Fixes #177