Almost done, need to figure out rounding.