insert and command mode added