cleaned up vimuxipy func