adding hunk management
adding net code