I calculate capital gains