second draft of homework3 - up to slideshow