radial profile code edited