improvements to overlays