adding encryption to keys and such