with overlay

fucntion with overlay