Declaring the collection is necessary to get the logic working