added line dataset implementation