added example for di.