example sending code