**JUST NEED TO JUSTIFY THE O(N^2)**