Functionality: addlinesdataset