added support for bool* arguments