changed stuff, added particle packet handling