custom dog membership algorithms