Report and code to simulate structural change by