You pay taxes with the proceeds from the sale? You sell all the losers in your portfolio to offset what gain you can?