debug section for output added