added netdev func