reformat code
support like profile