Fixed riemann discovery