added cfg implement