using account transfer pattern inpmidmanager + minor fixes