isA changed to typeOf