Updated some code
Merge branch 'master' into gh-pages