add some commands and events