add_client,add_network function checks added