rewrote likely_scalar_va