removed "debug mode" console.log