implemented brute