implemented rdcycle