add typing and several commands at once