giving model reference to collection