CLEAN : add functions definition