moving profile creation to a separate feature