CMS with a brain