removed unnecessary console.log's