#union code selection fixed
#best fit curve fixed