made a new rounding function. didn't help