small changes, but rest a prob on reverse alternate nodes