Added THreshSample...