initial line plotting done