added basic constraints - wip