add comm and log