working on brute force