code to send example packet written, but not yet working