add common cm stuff