learning vi and md