added exports to collections
added generic parameter