implemented npcs's