scenario 3, compiled