brute force, nonfunctional smart approach. not solved yet.