adding rank value in network message