Think this needs to be removed, and the lines 31 and 32 use the ax variable from the loop.