improvements
envelope reshuffling