light refactoring
Merge branch 'master' into gh-pages