Very basic brute force method.