You wouldn't have had to pay the taxes anyway if you lived in your residence for 2+ years. And Capital gains tax has not gone away entirely- it's just less than it was. Here's a recent link on avoiding captial gains, you still have to worry about it so you better read up on it.