Added algebra definition