added configEncoder to decay parameter