added debug section to debug