Updated example 1