removed code duplicate in get_DKL