added IsInstanceOf assert