Refactored get_results return statement