add switch for NetworkParser