changing to use proper units based on the return from the API