provide toSet, iterate and scaladoc