beginning divide and conquer