Changed getPrimary and getSecondary method names to accurately reflect variable names.