fixed the outputStandard method