adds support for BOOL