Refactoring cc profile