this was jme's uni coursework innit..