completes sum_to_n?