refactored results array into mode_results