Rename pushToOutput to addToOutput