refactoring of profile started