Functions like it does before but has a collectionview instead