using domain bases for validation