You can probably extract building this profile into a method.