organize packet