merge base latest functionality