add enum
add switch-case in NodePacket::getParsed