prototype for insert mode (but requires more features and refactoring ...)