write route