switching functions
Merge branch 'working-copy' into gh-pages