add the missing from constraint