a little easier to read
add true/false DEBUG option to enable/disable console.log messages