deprecating old version of communication.cpp