adding .middle_element .sum_arrays