updated syntax and examples