get selectLine working properly for tODE