Merge pull request #3 from DrNicolaRodgers/master

Apple
Fixing duplicate code
Merge pull request #4 from richardTowers/gh-pages

Pulling recent changes