modified for some most common port