adjusted debug