added support for sets, removed obsolete comment