added NPC class