add example code for vimr