fixed bug 2 of 2
almsot done with encryption