apply cedric's codes