refactored profile