refactored losing-candidate