added code to Communications.cc, building worked correctly