Updated example with new syntax