rebased on sugarbowl 0.48