add michela becchi's regex process and begin to modify and understand