Amanda - adding example 1 code