Realizing long term gains