Add horizontal lines, main code is complete