REFACTOR profile json