Updated example to include comments