less code for using eventsource send