FINALLY!! got everything working