began implementing state router