working on new wallet format implementation