mostly functional now.
need to still turn the delta values into rates by dividing by time.