add function type, boolean type test