started some testing for sampling functions