add network modification functions to cortex