add a var to show/hide debug