renamed DEBUG to LOG