add getSignature method