added constraint example