(var) encrypt->encrypted and made it global
now storing password if it's given