Xiao's code added
.gitignore updated