Clean up code bits to make them fit on the slides