maybe remove the instanceOf