Removed console.debug