now added several line methods. intersect checking is flawed