line to locations inputed