added functionality to specify if a weight is in lbs or kg