Added output algorithm description