removed nonsense IsType (penny stuff)