add shuffle method; Ref #719