some progress, decryption getting close to be testsed