Assignment 3 - reflections on the logging, defensive and assertion approach added