started trying to show that sum_of_logs is related to log^2