parsing packets working