simplified constraints creation