refactoring profile info