refactored searchSuccess methods