added to admin. added to cosmiddetail view.