Added Part 2 code samples