updates to brute force solver