Fixed gate logic.