updated constraints example