debuglog() added