add support for boolean