Switched order outprints in main