add support of collection