using the distributed mode principle