legislation data type checks
legislation now has data checks in place