implemented cyclic ports