got it to assign values to units in outcome.js