add numeric constraint