overlay is now conditional