finished marketsim, not verified yet