completed brute-force solver