Deleted unnecessary code