how distributors work