add term chr
support closures