end merge