locals: better debug statements