beginning of agents communication implementation