console.warn() instead of throw