passed the right collection to the template