Fixing example 2