configuring approx method