Better alternative for port shifting.