A subalgebra of loop algebra ? 2 and its applications