Line intersection is working