made view_rec