Modified example 3