adding relational instnaces threshold