how 4K GATEWAY work