modify traces