Initial work for Problem 18