getting profile to work