prepare profile