Changed how the horizontalLine is declared and used.