refactured most packets