Rmoved invalid lines of code