Changed examples to the new syntax