added BoolArray implementation