begin to bring back the pre processing functionnality