Added outputs and comments