alternating line code