Added npc protocol