add Events and Commands