add back threshold; no scaling for now