add composite view and collection view