modified line pathing