Updated syntax in examples