3rd commit outputs and bug fix