adding collections to view template