added debuggings