netmode as a type