adding lines in addition to points