updated slides and images. added code example