added example 3 & 4