Corrected output algorithm