shuffle prior to taking samples and __author__ variable removed