fixed outdated randSubset usage
fixed issues from the merge
changed name
committing a deletion