spin symmetry added and minor changes