gender search refactor