basic framework of repovalidator