change create packet into .h