Gate exchange