Implementing Paul Hegarty's project