Adding a sample for persisting start and end point in directions