call DBG() in more places where appropriate