removed TYPEOF