added line editing