controller, migrate and some shit