change util back to correct calculation