Brute implementation typo fixed