Improving education through research