It works
Also writes the operations in a CSV file