add emulate-done