this is sample to do network operations