minor modification, test rand change sequence on cp methods.