new outputManager function.