added necessary commands and events