getting everything working off the dll