change DEBUGS to preproccessor directives and updated brace patterns