sort of working attempt of 2-phased profile creation