added measurment of communication times