constraint for results creation added