switching functions
Merge branch 'working-copy'