Retirement tax questions

The TurboTax questions do not allow me to enter the nondeductible contributions first.  I enter Line 1-Gross distribution.  TurboTax does "remember" my nondeductible contributions but does not subtract this amount from the Gross Distribution amount.  So, TurboTax figures tax on the Gross distribution.