A stoplight regulates traffic flow.