Changing the way overlays was being created