adding distribute setup