Updated example 2