the tie variable sets the time in between each red/black square the layer selector is for having the second square use binary layer 1,2 or 3.