adding outputs