add a diagram for the photocell example