move cut() in the processus