starting brute force solution
i donnu
think i got it
ready to merge