Adding debug variable to be code compliant