add brute implementation and test update