removed threshold hardcoding 0, default arg