HW Assignment 18: added 18c