added high speed
improved thresholding to find ball