makeItSmooth implemented but not perfectly working
makeItSmooth implemented but not perfectly working