add functions to set network properties.