added support for second nic