add get and mod function in network module