first impl of marketSim