before leaving for san francisco. need to finish implementing sampling.