corredcted a few lines