debug section implemented