removed unnecessary imports
added snapshot creation for overlays