add constrain