now using coorSampleUnif