I am a US-IMG with average scores and an attempt on CS who applied for the internal medicine this match and still have no invitations. As I am preparing for the worst, I am looking into any options that would increase my chances of getting into an internal medicine residency including applying for family medicine and pathology next year as well as going through a Ph.D. (at the current university I work as a research assistant).