Updated example 3