Automatically adding outputs