how to do research in residency