added recent rotary code