added vi mode