getting overlay to work