Validation engine