changed this, it was using the wrong values