added cfg implementations