Overlay functionality added