[Lab 1] fix console output