Syntax for capital gains