small modifications to packet