adds event support