Code created as part of uni course