support for migrate & allocate
first try