added part1 of example