add some constraints and test data