This is only called from main and not a minor helper function, so better put it directly below main for better readability.