add bootstrap emu for old code base