remove code for identify type