add constraints validation
add enforce constraints validation flag