Behind the scenes at CMS