fixed majority logic