source validation