still working encryption and stuff