routes object changed to setup