change network paramters to var; need some infrastructure redesign on this