change throws to console.error