basic logic flow design of the procedure "communication"