Assignment #40 d