removed netparams from method signatures, made it global