Updated example to work