did some work in routes and migration