snippet for slide 4