Added brute force decoder