Perfect and good communication by distance