adding example 4 about dependencies