worked a little bit on "brute force algorithm"