Removed unnecessary console logs from code.