example in initial code