added boolean support for cmap