changed DEBUG to debug, since it is not a constant