Cleaned from invalid lines of code