got almost everything working