Simplify DoLine