Added code

as emailed by Maja but not included in the initial repo
Merge pull request #1 from Cheddles/ChrisExploring

Added code