added debugoutput