working on developing IBD overlap functions