Removing the period overwrite from arm 1 gives an bad intermediary that I couldn't deal with because of the small space and period, removing the wait from arm 1 gave an even worse one. I have no idea how to deal with them, but since I programed this solution in the last 2 hours I belive it may be possible with more time.