still working on constraints/complex entities
trying to build and test code so far for constraints/complex entities, but get internal compiler error, le sigh