starting code folding
updating code-folding implementation