almost brute force