The JYFLTRAP mass spectrometer was used to measure the masses of neutron-rich nuclei in the region between N = 28 to N = 82 with uncertainties better than 10 keV. The impacts on nuclear structure and the r-process paths are reviewed.