implementation problem, brute force, good