data calculation revision