added support for integrity constraints
added integrity constraint