global validation