homework 7 sml part