added multiple outputs