add matrics boolean