adding support for boolean attributes