some code from Bin
Merge branch 'master' of https://github.com/zhuob/Project3