Fix indentation and remove console.log