Added Clear Function And Renamed Some Variable