Added lhs, rhs and units functions