worked on npc movement