Added configKG method