remove console.log and fix indentation