begin coding router