Removing unnecessary console output statements