added the wrapper for deterministic_wallet