Changed method name to closely resemble brute-force method