add first and second half together