Removing  unnecesary print statements