Retirement tax questions

Ah! Thank you. I thought the contribution was still subject to the 10%. I did not dip into any gains at all.