added do-all function and keymap