removed typeof