Updated example2.