Initial pass at intelligent sampling
Initial pass at intelligent sampling