Updated var syntax in example