added working version of profile