updated encrypted class,, more to do