added plot w scrambled functions