everything working except stupid port check