trying to debug an issue with cells getting counted but not filled