added term emulator
added term emulator for real this time