working 10000 cycles decyrption