It pays to do research first.