creating new structure for NPC