Profiles_refactoring
added documentation