draw_profile_cmp working