Removed console.debug()