view using collection instead of model