- implemented setOverlay() feature