Adding distribute logic
dist keys phase 1