debugging ESC