validation code inquest