added "finish route" functionality.