first version of tripple constraints