Need help with execute command

I am following a tutorial about how to make datapacks but the command to make the arrow do stuff does not work, and i can't see why

it's on the tick.mcfunction file if anyone was wondering if that's the issue

also those are all the commands i have inside tick.mcfunction

Continue to help post