Validation code

Validation code v1: matchconfig