Deleted unnecessary lines of code