formal validation