updated DEBUG to def