non working of encryption, still getting errors, work in progress