added support for boolean values