added check ports