Getting closer to the right implementation of filterAcc