debug with block