[encription] still fixing bugs.