got everything working proplerly