throw instead of return console.warn