deleted unnecessary console and confirm data