add support for collections