Code developed as part of course work