Started implementing a sampling tool