example 1: stop light