p11 ruby work