Edit instanceof