Almost there - Wherefore art thou Algorithm

The first three tests are getting the check mark; I cannot tell why the rest isn’t. I think that it has something to do with how I’m extracting the value from source.

// Only change code below this line
   let b = Object.values(source);
    let c = '';
    c = b.shift();
    console.log(c); 
    for(let key in source) {
      console.log(key);
      for(let i = 0; i < collection.length; i++) {
          if(collection[i].hasOwnProperty(key) && collection[i][key] === c){
          arr.push(collection[i]);
  
    };// for key
  }; // for loop
} // function
console.log(arr)
  // Only change code above this line

Thanks.

Keep in mind that c has the same value the entire time you iterate through both for loops.