added code for eventshares