traffic light system for stock control