added netclass.  Still needs some testing