add constraints