refactoring profile