Save working codes.