more comments and a start with thresholding