functions transferred
Merge branch 'master' of https://github.com/ucam-cl-dtg/urop-2013-frontend