adding packet class for passing data around to nodes