trying to get the profile to function