Adding minimum threshold