added an example of sendpulse