added basics for lines