Modified STDOUT outputs to match requirements