added debuglog