console.warn commented out