works with overlays