function() public payable whenNotPaused {
        require(state == LendingState.AwaitingReturn || state == LendingState.AcceptingContributions || state == LendingState.ExchangingToFiat);
        if(state == LendingState.AwaitingReturn) {
            returnBorrowedEth();
        } else if (state == LendingState.ExchangingToFiat) {
            
            sendBackSurplusEth();
        } else {
            require(ethicHubStorage.getBool(keccak256("user", "investor", msg.sender)));
            contributeWithAddress(msg.sender);
        }
    }