provides a length for each type (green, orange, red) and repeats every two minutes