switched debug to false