still lack the code to take samples.