type lookup