test character functions
implement the choice operator
remove some warnings