setting up model and coll