simplified debug