Controller and migration