fix formatting, remove console.log