add suport for linear, angle unit