WIP add migration and scale behaviour