distance & threshold classes