implemented first version of bid emulator