- use new ch() variations, depending on variable type
- added support for string variables