add netx's proc def function