added ui and commiting what's done for smoothing alg