Use the right profile API function