add overlap func
add overlap func