1.Add some comments
2.Remove some unnecessary codes