MInor changes to change how cases are sampled.