added migration capability to input/output