renamed output to avoid sorting confusion over #