start of npc interface