prepare to add element commands and alert commands