worked on dissolve lines function, not done yet