working on drecryption