Updated example to working example