tweaks for speed