Added a more functional approach to get searchables