add a class to store the list of modifying types