bisection working now