saved implementation of tableBruteForce for alternate templates