added support for element collections in list/set