tweaks with approx typing