modeling a data packet