var thresh = 10;
