toy paramEst code pretty much done