cleaned functions dir