add option to specify network device