Forgot to add check if npc exists in func