debug code (console.log) removed