updated values and checked math.