removed redundant vars.. project is not used, wallet is a parameter.