completed function for communication service