refactor
add endemic param for distributions