changed to brute force n2
Merge