typeof works